﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000657 RID: 1623
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetBagCsReq : IMessage<GetBagCsReq>, IMessage, IEquatable<GetBagCsReq>, IDeepCloneable<GetBagCsReq>, IBufferMessage
	{
		// Token: 0x170014FD RID: 5373
		// (get) Token: 0x06004949 RID: 18761 RVA: 0x000C990A File Offset: 0x000C7B0A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetBagCsReq> Parser
		{
			get
			{
				return GetBagCsReq._parser;
			}
		}

		// Token: 0x170014FE RID: 5374
		// (get) Token: 0x0600494A RID: 18762 RVA: 0x000C9911 File Offset: 0x000C7B11
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetBagCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170014FF RID: 5375
		// (get) Token: 0x0600494B RID: 18763 RVA: 0x000C9923 File Offset: 0x000C7B23
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetBagCsReq.Descriptor;
			}
		}

		// Token: 0x0600494C RID: 18764 RVA: 0x000C992A File Offset: 0x000C7B2A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetBagCsReq()
		{
		}

		// Token: 0x0600494D RID: 18765 RVA: 0x000C9932 File Offset: 0x000C7B32
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetBagCsReq(GetBagCsReq other) : this()
		{
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600494E RID: 18766 RVA: 0x000C994B File Offset: 0x000C7B4B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetBagCsReq Clone()
		{
			return new GetBagCsReq(this);
		}

		// Token: 0x0600494F RID: 18767 RVA: 0x000C9953 File Offset: 0x000C7B53
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetBagCsReq);
		}

		// Token: 0x06004950 RID: 18768 RVA: 0x000C9961 File Offset: 0x000C7B61
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetBagCsReq other)
		{
			return other != null && (other == this || object.Equals(this._unknownFields, other._unknownFields));
		}

		// Token: 0x06004951 RID: 18769 RVA: 0x000C9980 File Offset: 0x000C7B80
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06004952 RID: 18770 RVA: 0x000C99A6 File Offset: 0x000C7BA6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06004953 RID: 18771 RVA: 0x000C99AE File Offset: 0x000C7BAE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06004954 RID: 18772 RVA: 0x000C99B7 File Offset: 0x000C7BB7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06004955 RID: 18773 RVA: 0x000C99D0 File Offset: 0x000C7BD0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06004956 RID: 18774 RVA: 0x000C99F6 File Offset: 0x000C7BF6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetBagCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06004957 RID: 18775 RVA: 0x000C9A13 File Offset: 0x000C7C13
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06004958 RID: 18776 RVA: 0x000C9A1C File Offset: 0x000C7C1C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			while (input.ReadTag() != 0U)
			{
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04001D18 RID: 7448
		private static readonly MessageParser<GetBagCsReq> _parser = new MessageParser<GetBagCsReq>(() => new GetBagCsReq());

		// Token: 0x04001D19 RID: 7449
		private UnknownFieldSet _unknownFields;
	}
}
